(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[46],{

/***/ "./src/views/flowable/modules/design/modules/right/config/mouseMove.js":
/*!*****************************************************************************!*\
  !*** ./src/views/flowable/modules/design/modules/right/config/mouseMove.js ***!
  \*****************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ({
  defaultParams: {
    nodeName: '鼠标移动',
    "type": "mouseMove",
    "x": "0",
    "y": "0",
    "unit": 'px'
  },
  getParamsData: function getParamsData(item) {
    return Object.assign(this.defaultParams, item || {});
  },
  /**
   * @description: 获取配置面板信息
   * @author: wufz
   * @param {*} item 节点的configParams
   * @return {*}
   */
  getConfigData: function getConfigData(item) {
    return {
      x: {
        type: 'dcbInput',
        attrs: {
          value: item.x,
          title: 'x轴数值'
        },
        props: {
          type: 'number',
          placeholder: '请输入x轴数值'
        },
        events: {
          change: 'valueChange'
        }
      },
      y: {
        type: 'dcbInput',
        attrs: {
          value: item.y,
          title: 'y轴数值'
        },
        props: {
          type: 'number',
          placeholder: '请输入y轴数值'
        },
        events: {
          change: 'valueChange'
        }
      },
      unit: {
        type: 'dcbSelect',
        attrs: {
          value: item.unit,
          title: '计量单位'
        },
        props: {
          options: [{
            label: '像素',
            value: 'px'
          }, {
            label: '百分比',
            value: 'percent'
          }],
          placeholder: '请选择计量单位'
        },
        events: {
          change: 'valueChange'
        }
      }
    };
  }
});

/***/ })

}]);